package com.cmwa.scbp.sys.msg.adapter;

import java.util.List;
import java.util.Map;

import com.cmwa.scbp.sys.msg.vo.ManualOperationParamsVo;
import com.cmwa.scbp.sys.msg.vo.MsgConfVo;
import com.cmwa.scbp.sys.msg.vo.MsgWaitSendVo;
import com.cmwa.scbp.sys.msg.vo.OperationResultVo;

public interface EmailMessageTemplate {

	/**
	 * 总入口
	 * @param msgcat
	 * @param msgsubcat
	 * @param objs
	 */
	public OperationResultVo execute(ManualOperationParamsVo params);
	
	/**
	 * 获取数据源
	 * @param objs
	 * @return
	 */
	public List<Map<String, Object>> obtainData(ManualOperationParamsVo params);
	
	
	/**
	 * 组装核实类型的消息对象
	 * @param conf
	 * @param confEmps
	 * @param datas
	 * @param template
	 * @return
	 */
	public List<MsgWaitSendVo> assembleMessage(MsgConfVo conf,Map<String,List<String>> confEmps,Map<String,List<Map<String, String>>> empsEmailAddress,List<Map<String, Object>> datas,ManualOperationParamsVo params);
	
	
}
